#ifndef SPYNET_NET_CONNECTOR_H_
#define SPYNET_NET_CONNECTOR_H_

#include "inet_session.h"

namespace Net
{
	class Connector : public INetSession
	{
	public:
		Connector(boost::asio::io_service& io_service);
		~Connector();

		void Connect(std::string ip, ushort port);
		void Connect(ulong ip, ushort port);

		void AsyncConnect(std::string ip, ushort port);
		void AsyncConnect(ulong ip, ushort port);
		void ConnectHandle(boost::system::error_code ec);

	};
}

#endif
